package com.corona.game;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.corona.Game;
import com.corona.game.util.TextureCache;

/* compiled from: Player.java */
/* loaded from: pokewilds.jar:com/pkmngen/game/DrawPokemonCaught.class */
class DrawPokemonCaught extends Action {
    public Action.Layer layer = Action.Layer.gui_110;
    Sprite pokeball = new Sprite(TextureCache.get(Gdx.files.internal("pokeball1.png")), 0, 0, 12, 12);

    public DrawPokemonCaught(Game game) {
        super(new Object[0]);
        this.pokeball.setScale(2.0f);
    }

    @Override // com.corona.game.Action
    public String getCamera() {
        return "gui";
    }

    @Override // com.corona.game.Action
    public Action.Layer getLayer() {
        return this.layer;
    }

    @Override // com.corona.game.Action
    public void step(Game game) {
        for (int i = 0; i < game.player.pokemon.size(); i++) {
            game.uiBatch.draw(this.pokeball, (float) (i * 16 * 3), 420.0f);
        }
    }
}
